package com.hbnu.pojo;

/**
 * <h3>hibernate</h3>
 * <p></p>
 *
 * @author : 皮佳康
 * @date : 2024-03-08 08:10
 **/


// hibernate 要求实体类 要有唯一属性
public class User {
    private int uid;
    private String username;
    private String password;
    private String address;
    private double salary;


    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}
